import json

from config import BASE_DIR


def read_json(filename):
    with open(BASE_DIR+filename,"r",encoding="utf8") as f:
        ret = json.load(f)
        list1 = []
        for i in ret:
            list1.append(tuple(i.values()))
        return list1
if __name__ == '__main__':
    print(read_json("/data/emp_add_data.json"))